#include "stdafx.h"
#include "core.h"

CCore::CCore()
{
    
}

CCore::~CCore()
{
    
}

void CCore::addBank(CBank& bank)
{
    m_banks.push_back(bank);
}

void CCore::print()
{
    for(int i = 0; i < m_banks.size(); i++)
        m_banks[i].print();
}

void CCore::save(const std::string &saveFile)
{
    std::ofstream output(saveFile.c_str(), std::ios::binary);
    if(output.is_open())
    {
        unsigned int size = sizeof(*this);
        std::cout << size << std::endl;
    }
}